package com.medaxis.hpams.sso.constant;

public class Constants {

    public static  final   String  VERSION_NUMBER="0.0.1v";
    //    质控系统
    public static final String  ZHIKONG_SYSTEM="1";
    //    指标系统
    public static final String  ZHIBIAO_SYSTEM="2";
    /**
     * http请求
     */
    public static final String HTTP = "http://";



    /**
     * https请求
     */
    public static final String HTTPS = "https://";
    public static final String UNIQUE = "0";

    public static final String NOT_UNIQUE = "1";


    public static final String HAS_USER = "0";
    public static final String NO_USER = "1";


    /**
     * 组织停用状态
     */
    public static final String GROUP_NORMAL = "0";

    /**
     * 组织正常状态
     */
    public static final String GROUP_DISABLE = "1";

    public static final String GROUP_DISABLE_MESSAGE = "该组织停用，不能新增部门";
    public static final String GROUP_REPEAT_NAME = "组织名称重复";
    public static final String GROUP_ID_NOT_MYSELF = "该父组织不能是自己";

    public static final String UPDATE_CHILDREN_ERROR = "跟新子节点出错";
    /**
     * 登录
     */
    public static final String GET_CODE_ERROR ="获取验证失败" ;
    public static final String CODE_WRONG = "验证码错误";
    public static final String ACCOUNT_OR_PASSWORD_ERROR = "账户或密码错误";
    /**
     * 令牌
     */
    public static final String TOKEN = "token";


    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";
    /**
     * login
     */
    public static final String LOGIN_SUCCESS = "Success";
    public static final String LOGOUT = "Logout";
    public static final String LOGIN_FAIL = "Error";
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";
    public static final String LOGIN_TOKEN_KEY = "login_tokens:";
    public static final Integer CAPTCHA_EXPIRATION = 2;
    public static final String TOKEN_PREFIX = "Bearer ";
    public static final String LOGIN_USER_KEY = "login_user_key";
    public static final String SUCCESS = "0";
    public static final String FAIL = "1";

}
